package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {

     //根据名称分页查询频道列表
     ResponseResult findByNameAndPage(ChannelDto dto);

     //新增
     ResponseResult insert(AdChannel channel);


     //修改
     ResponseResult update(AdChannel adChannel);

    //删除
     ResponseResult deleteById(Integer id);
}